package util;

import org.hibernate.Session;



public class Conecta {

	public static void main(String[] args) {
		Session sessao = null;
		try {
			sessao = HibernateUtill.getSession().openSession();
			System.out.println("Conectado");
		} finally{
			sessao.close();
			System.out.println("Fechou");
		}
	}

}
